﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Web._Default" %>

<%@ Register Assembly="System.Web.Silverlight" Namespace="System.Web.UI.SilverlightControls" TagPrefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" style="height:100%;">
<head id="Head1" runat="server">
    <title>Client</title>
</head>
<body style="height:100%;margin:0;background-image: url(http://download.microsoft.com/download/2/7/8/278FB79D-6EBE-4B89-839C-824C4E0BFCEC/silverlight_dusk1_wide_1400x864.jpg)">
    <form id="form1" runat="server" style="height:100%;">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div style="height:100%; vertical-align: middle; text-align: center; background-color:Transparent">
            <asp:Silverlight ID="Xaml1" runat="server" Source="~/ClientBin/SBPweb.PhotoGallery.Client.xap"
                MinimumVersion="2.0.31005.0"
                Width="640"
                Height="480"
                Windowless="true"
                HtmlAccess="Enabled"
                BackColor="Transparent"
                PluginBackground="Transparent"
                InitParameters="DisplayMode=View,ScriptElementId=slides" />
        </div>
        <script id="slides" type="text/xml">
        <?xml version="1.0" encoding="utf-8" ?>
        <galleries>
            <gallery baseUrl="http://localhost/SBPweb.PhotoGallery.Web/Images/" title="Gallery001" page="0" pageSize="2">
                 <slide imageUrl="20-pacificcity-1440x900.jpg" thumbnailUrl="20-pacificcity-1440x900.jpg" caption="Pacific City" />
                 <slide imageUrl="22.jpg" thumbnailUrl="22.jpg" caption="Twenty two" />
                 <slide imageUrl="vista-wallpaper-ultimate-1920x1200.jpg" thumbnailUrl="vista-wallpaper-ultimate-1920x1200.jpg" caption="Vista Ultimate" />
                 <slide imageUrl="vista-wallpaper-ultimate-start-1920x1200.jpg" thumbnailUrl="vista-wallpaper-ultimate-start-1920x1200.jpg" caption="Vista Ultimate Start" />
                 <slide imageUrl="ws_Dark_Aurora_1600x1200.jpg" thumbnailUrl="ws_Dark_Aurora_1600x1200.jpg" caption="Dark Aurora" />
            </gallery>
            <!--gallery baseUrl="" title="Gallery002">
            </gallery-->
        </galleries>
        </script>
    </form>
</body>
</html>